import Display from './index.vue';
import Vue from 'vue';
import store from '../../store';
import disrouter from '../../router/disrouter';//直接导入路由配置   
import {Popover,Steps,Skeleton,Tree,Checkbox,List,Radio,InputNumber,Cascader,Input,Tooltip,Table,Card,Tag,Spin,Row,Col,Divider,LocaleProvider,Transfer,DatePicker,Progress,Button,Select,Form, Tabs,Drawer, message,  notification, Layout,Avatar,Icon,Menu,Dropdown,Breadcrumb,Modal } from 'ant-design-vue';
Vue.prototype.$message = message;
Vue.prototype.$notification = notification;
Vue.prototype.$info = Modal.info;
Vue.prototype.$success = Modal.success;
Vue.prototype.$error = Modal.error;
Vue.prototype.$warning = Modal.warning;
Vue.prototype.$confirm = Modal.confirm;
Vue.use(Layout);
Vue.use(Avatar);
Vue.use(Icon);
Vue.use(Menu);
Vue.use(Dropdown);
Vue.use(Breadcrumb);
Vue.use(Modal);
Vue.use(Drawer);
Vue.use(Tabs);
Vue.use(Form);
Vue.use(Select);
Vue.use(Button);
Vue.use(Progress);
Vue.use(DatePicker);
Vue.use(Transfer);
Vue.use(LocaleProvider);
Vue.use(Divider);
Vue.use(Row);
Vue.use(Col);
Vue.use(Spin);

Vue.use(Card);
Vue.use(Tag);
Vue.use(Table);
Vue.use(Tooltip);
Vue.use(Input);
Vue.use(Cascader);
Vue.use(InputNumber);
Vue.use(Radio);
Vue.use(List);
Vue.use(Tree);
Vue.use(Checkbox);
Vue.use(Skeleton);
Vue.use(Steps);
Vue.use(Popover);
var echarts = require('echarts');
Vue.prototype.$echarts = echarts;

new Vue({
  el: '#display_app',
  router:disrouter,
  store,
  render: h => h(Display)
});